AL SET LISTENER MPU

This function will set the number of meters per DBPro unit for the listener. This affects how distance and attenuation calculations are performed on sounds. For example, your game's world scale is 100 DBPro units to 1 kilometer, you wouldn't want the audio simulation set to its default value of 1 DBPro unit to 1 metre.

  Syntax
AL SET LISTENER MPU soundNumber, metersPerUnit
  Parameters
soundNumber
Integer
The sound number.
metersPerUnit
Float
The number of meters per DBPro unit.

  Returns

This function does not return a value.

  See also

DarkAL Functions Menu